import { defineConfig } from "vite"
import react from "@vitejs/plugin-react"
import path, { resolve } from "path"

// https://vite.dev/config/
export default defineConfig({
  resolve: {
    alias: {
      "@": path.resolve(__dirname, "src"),
    },
    extensions: [".js", ".jsx", ".tsx", ".ts"],
  },
  plugins: [react()],
})
